package com.av.android;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;

public class SplashActivity extends BaseActivity {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_splash);
        new Thread(new Runnable() {
			
			public void run() {
				try {
					Thread.sleep(3000);
				} catch (InterruptedException e) {
					e.printStackTrace();
				}
				goToLoginScreen();
				finish();
			}
		}).start();
        
        
    }
    public void goToLoginScreen(){
    	Intent i = new Intent(this,LoginActivity.class);
    	startActivity(i);
    }
   
}
